package com.zzl.finance.data.entity;

import com.baomidou.mybatisplus.annotation.*;

import java.io.Serializable;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.zzl.apidoc.annotation.ApidocModel;
import com.zzl.apidoc.annotation.ApidocModelProperty;
import lombok.Data;

/**
 * 银行支行（字典值）：只有表中的银行才支持打款认证
 *
 * @author gull
 * @date 2022-07-01 18:23:10
 */
@Data
@TableName("b_bank_information")
@ApidocModel
@SuppressWarnings("javadoc")
public class BankInformationEntity implements Serializable {
    private static final long serialVersionUID = 1L;

    @TableId(type = IdType.UUID)
    @ApidocModelProperty(description = "id")
    private String id;
    @ApidocModelProperty(description = "联行号")
    private String bankNumber;
    @ApidocModelProperty(description = "银行支行")
    private String bankName;
    @ApidocModelProperty(description = "银行名称")
    private String abbreviation;
    @ApidocModelProperty(description = "备注")
    private String remark;
    @ApidocModelProperty(description = "1 表示删除，0 表示未删除")
    @TableField(value = "is_deleted")
    @TableLogic(value = "0", delval = "1")
    private Integer deletedStatus;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @ApidocModelProperty(description = "创建时间", validate = "yyyy-MM-dd HH:mm:ss")
    @TableField(fill = FieldFill.INSERT)
    private Date createTime;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @ApidocModelProperty(description = "修改时间", validate = "yyyy-MM-dd HH:mm:ss")
    @TableField(fill = FieldFill.INSERT_UPDATE)
    private Date updateTime;
    @ApidocModelProperty(description = "创建人id")
    private Integer creatorId;
    @ApidocModelProperty(description = "修改人id")
    private Integer updaterId;

}
